cmake_minimum_required(VERSION 3.22.1)
project(cpp_study)

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

enable_language(ASM)  # 启用汇编支持

file(GLOB SRC CONFIGURE_DEPENDS src/*.cpp src/*.s)  # 包含汇编文件

add_executable(${PROJECT_NAME} 
    main.cpp 
    ${SRC}
)

target_include_directories(${PROJECT_NAME} PRIVATE include)
